package name.cyh.model.po;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.sql.Timestamp;

import static com.baomidou.mybatisplus.annotation.IdType.AUTO;

/**
 * @author 18433
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class Orders {
    @TableId(type = AUTO)
    private int orderId;
    private int customerId;
    private Timestamp orderDate;
    private BigDecimal totalAmount = new BigDecimal(0);
    private BigDecimal finalAmount = new BigDecimal(0);
    private String status;
}
